package com.linkhub.oms.admin.modules.system.service;

import com.linkhub.oms.admin.modules.system.domain.param.EmailCodeParam;
import com.linkhub.oms.admin.modules.system.domain.param.SystemSignInParam;
import com.linkhub.oms.admin.modules.system.domain.param.SystemSignUpParam;
import com.linkhub.oms.admin.modules.system.domain.vo.LhTokenInfoDTO;
import com.linkhub.oms.admin.modules.system.domain.vo.RegisterInfoVO;

/**
 * @Description: SystemService
 * @Author: echo
 * @Date: 2024/3/6 17:02
 * @Version: 1.0
 */
public interface SystemService {

    /**
     * 发送邮箱验证码
     *
     * @param emailCodeParam email
     */
    void sendEmailCode(EmailCodeParam emailCodeParam);

    /**
     * 注册用户
     *
     * @param signUpParam signUpParam
     */
    RegisterInfoVO signUp( SystemSignUpParam signUpParam);

    /**
     * 登录接口
     *
     * @param signInParam signInParam
     * @return token
     */
    LhTokenInfoDTO login(SystemSignInParam signInParam);


    /**
     * 重置密码
     *
     * @param signUpParam signUpParam
     */
    void resetCipher(SystemSignUpParam signUpParam);


}
